package com.example.demo1.inquiry.service;


import com.example.demo1.inquiry.model.InquiryTotal;
import com.example.demo1.inquiry.model.vo.InquiryAddVo;
import com.example.demo1.inquiry.model.vo.InquiryQueryVo;
import com.example.demo1.inquiry.model.vo.InquiryTotalVo;
import com.example.demo1.inquiry.model.vo.InquiryUpdateVo;
import com.example.demo1.wyy.util.AllRecords;
import com.example.demo1.wyy.util.Result;

/**
 * Created by Lx on 2018/6/27.
 */
public interface InquiryService {
    Result<InquiryAddVo> addInquiry(InquiryAddVo inquiryAddVo);

    Result<InquiryUpdateVo> updateInquiry(InquiryUpdateVo inquiryUpdateVo);

    Result<AllRecords<InquiryTotal>> queryPage(InquiryQueryVo inquiryQueryVo);

    Result<InquiryTotalVo> seeInquiry(Integer id);
}
